2016-07-18 - 23923 - Break Fix - NA Retail New output type for Retail Pro #ProductionBreakFix #ABAP
2016-07-29 - 24194 - Break Fix - New Out Put for Retail Pro
Problem Summary
New Output type for Retail Pro
Admin Info
Purpose
|
New Output type for Retail Pro
|
Requested by
|
Babu Vanamali
|
Issue Date
|
07-18-2016
|
Resolved by
|
Adithya/Damodhier
|
Resolved Date
|
|
Document Status
|
Completed
|
Detailed Problem Description
(Include Screen Shots if required )
Create a new output type for Retail Pro.
A new out put "
ZNUR" similar to "
ZNU4" has to be triggered when a PO is created for plants 0145 & 0215 other than storage location PRVA.
Solution Analysis and Recommendations
(Include Screen Shots if required)
Create a New Output
ZNUR and assign it to the specified Partner in Condition Records.
Maintain Condition Records and Assign the specified Partner, The Key combination is similar to ZNU4, i.e Company Code and PO Doc type.
Create a routine to achieve below condition and add in the outputs:
Out put shall triggered with below conditions:
ZNU4 - If plants 0145, 0215 with Storage Location PRVA.
ZNUR - If plants 0145, 0215 with Storage Location not equal to PRVA.
Test ID
|
Test Scenario
|
Expected Results
|
POOP1
|
Create a PO for plant 0145 & 0215 with storage location PRVA
|
Output ZNU4 has to be generated and file has to be placed in a respective location mentioned in the partner.
|
POOP2
|
Create a PO for plant 0145 & 0215 wiith storage location any other storage location not equal to PRVA
|
Output ZNUR has to be generated and file has to be placed in a respective location mentioned in the partner.
|
POOP3
|
Create a PO for any XPO (Menlo) plants
|
Output ZNU4 has to be generated and file has to be placed in a respective location mentioned in the partner.
|
Note : It is observed that output type ZNU4 is only triggered when a PO is created and not when the PO is changed, Hence the new output type ZNUR is also same as ZNU4 it triggers when a PO is created only.
Storage location of the first line of the PO is considered in the routine, if the first line of the PO has Storage Location
PRVA "ZNU4" output type will be triggered if storage location is not equal to
PRVA then
"ZNUR" out put shall be triggered.
Discussion on 07/21/2016
It is observed that routines of the PO output type can not get the Storage location and Address fields
Hence it is not possible to get restrict the ZNU4 when the storgae location is Not PRVA and generate ZNUR.
Remove the condition records which are maintained for the company code 0011 & 0021 for output types ZNU4 and ZNUR so that these output will not be triggered by maintaining the condition records.
How ZNU4 and ZNUR will be triggered ?
Write a program which shall be scheduled as a background Job where it shall check the conditions
1. If the first line of the PO is having PRVA Storage
location trigger ZNU4
2. If first line of the PO is having storage location not equal to PRVA then trigger ZNUR
If there is a change in the storage location ?
Resolution
Program ZMM_NA_RETAIL_NU4_NUR has been developed to trigger outputs ZNU4 / ZNU4 based on the storage location in the first line of the PO.
Release Information
Provide link here to Release Notes if Technical Objects were changed